package com.yj.cloudnote.model;

public class Page {
    private int pageNo;
    private int pageSize;
    private int totle;
    private int start;
    private int end;

    public int getStart() {
        return (pageNo - 1)*pageSize;
    }

    public int getEnd() {
        return pageSize;
    }

    public int getPageNo() {
        return pageNo;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getTotle() {
        return totle;
    }

    public void setTotle(int totle) {
        this.totle = totle;
    }

}
